:DEACTIVATEFEATURES
REM stsadm -o deactivatefeature -name Intellinet.Membership.ListInstances -url http://membertest/Content
REM stsadm -o deactivatefeature -name Intellinet.Membership.ListTemplates -url http://membertest
REM stsadm -o deactivatefeature -name Intellinet.RoleConfig.ListInstances -url http://membertest/Content
REM stsadm -o deactivatefeature -name Intellinet.RoleConfig.ListTemplates -url http://membertest

:MAKEWSP
makecab /f IntellinetMembership.ddf

:INSTALLSOLUTION
stsadm -o retractsolution -name IntellinetMembership.wsp -immediate
stsadm.exe -o execadmsvcjobs
stsadm -o deletesolution -name IntellinetMembership.wsp
stsadm -o addsolution -filename IntellinetMembership.wsp
stsadm -o deploysolution -name IntellinetMembership.wsp -immediate -allowGacDeployment  -force
stsadm.exe -o execadmsvcjobs

:ACTIVATEFEATURES
REM stsadm -o activatefeature -name Intellinet.Membership.ListTemplates -url http://membertest
REM stsadm -o activatefeature -name Intellinet.Membership.ListInstances -url http://membertest/Content
REM stsadm -o activatefeature -name Intellinet.RoleConfig.ListTemplates -url http://membertest
REM stsadm -o activatefeature -name Intellinet.RoleConfig.ListInstances -url http://membertest/Content

:RECYCLEAPPPOOL
C:\WINDOWS\system32\cscript.exe C:\WINDOWS\system32\iisapp.vbs /a "SharePoint - membertest80" /r

:END
